import { Button, Loading, Image, Tab, Tabs, Tabbar, TabbarItem, Swipe, SwipeItem } from 'vant'

const vantUIs = [Button, Loading, Image, Tab, Tabs, Tabbar, TabbarItem, Swipe, SwipeItem]

export default {
  install (Vue) {
    vantUIs.forEach(vantUI => {
      Vue.component(vantUI.name, vantUI)
    })
  }
}
